<template>
  <div class="home">
    

    <!-- 二级路由对应组件的渲染出口 -->
    <router-view>
		<i class="iconfont icon-elemo1"></i>
	</router-view>

    <!-- 使用封装好的Tabbar组件, 渲染多个二级路由链接 -->
    <Tabbar :tabbar="tabbar" />

  </div>
</template>

<script>

export default {
  data(){
    return {
      tabbar:[
        {
          text:"首页",
          link:"/home/index"
        },
        
        {
          text:"我的",
          link:"/home/my"
        },
      ]
    }
  },
  name: 'Home',
  components: {

  }
}
</script>

<style >

</style>
